Skip to main content

ossRenew

Description

OSS renew

Request Method

PUT

Request Path

/customer/oss/renew

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
resourcePlanTypeBODYstringYesNo sample value for this parameter.resource plan type,StandardStoragePackage/OutboundTrafficPlan
periodBODYintegerYesNo sample value for this parameter.period
instanceIdBODYstringYesNo sample value for this parameter.instance id
costBODYnumberYesNo sample value for this parameter.Amount payable
voucherInstanceIdBODYstringYesNo sample value for this parameter.Voucher instance id
pricingCycleBODYstringYesNo sample value for this parameter. Year | Month
couponInstanceIdBODYstringYesNo sample value for this parameter.Coupon instance id

Return data

NameTypeSample valueDescription
resultobject`{"orderId":2.02207261931409997E+18}`No description for this parameter.
resultCodestring0No description for this parameter.
resultMsgstringsuccessNo description for this parameter.

Example

Successful Response example

{
"result":
{
"orderId":2.02207261931409997E+18
},
"resultCode":"0",
"resultMsg":"success"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}